{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/michaelalbertus/Dropbox/Research/Land Reform under Chavez in Venezuela/Paper/Research Note/PSRM/PSRM R&R/PSRM Replication Data/AppendixTable4M2M5.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Jun 2017, 18:26:53

{com}. use "/Users/michaelalbertus/Dropbox/Research/Land Reform under Chavez in Venezuela/Paper/Research Note/PSRM/PSRM R&R/PSRM Replication Data/AppendixTable4M2M5.dta"

. do "/Users/michaelalbertus/Dropbox/Research/Land Reform under Chavez in Venezuela/Paper/Research Note/PSRM/PSRM R&R/PSRM Replication Data/AppendixTable4M2M5.do"
{txt}
{com}. *** APPENDIX TABLE 4 MODELS 2 AND 5 ***
. *** Note that this uses AppendixTable4M2M5.dta  ***
. 
. * Note that Appendix Table 4 Model 2 is identical to Appendix Table 4 Model 5
. * Note that Model 1 and Model 4 of Appendix Table 4 correspond to Model 4 and Model 6 of Table 1 in the paper
. 
. #delimit ;
{txt}delimiter now ;
{com}. xi: quietly tobit benefprop_1000 lruralpop nbi abschavezmargin abschavezmargin_chavezstate08 chavezgov2008, ll(0) r;
{txt}
{com}. estimates store apptable4a;
{txt}
{com}. xi: quietly tobit benefprop_1000 lruralpop nbi abschavezmargin abschavezmargin_chavezstate08 chavezgov2008, ll(0) r;
{txt}
{com}. estimates store apptable4b;
{txt}
{com}. estout apptable4*, style(tex) starlevels(* .10 ** .05 *** .01) cells(b(star fmt(3)) se(par fmt(3))) 
>         mlabels("1: RE" "2: RE" "3: RE" "4: RE, Lag DV" "5: RE, Lag DV" "6: RE, Lag DV") keep(lruralpop nbi abschavezmargin abschavezmargin_chavezstate08 chavezgov2008) 
>         order(abschavezmargin_chavezstate08 abschavezmargin chavezgov2008 lruralpop nbi)
>         varlabels(agemunmais "Age" misionfullmunmais "Misiones" patriotmais "\% Loyalists in Opposition State" opositormais "\% Opposition in Chavez State" lvoters "log(Voters)" chavezvote "\% Chavez Vote" abschavezmargin "Chavez Win Margin in Opposition State" abschavezmargin_chavezstate08 "Chavez Win Margin in Chavez State" chavezgov2008 "Chavez Governor Baseline" patchavezstate08 "\% Loyalists in Chavez State" oppchavezstate08 "\% Opposition in Opposition State" lruralvoters "log(Rural Voters)" lruralvoters_muni "log(Rural Voters)" lruralpop "log(Rural Population)" rural_pc_muni "Percent Rural" nbi "Poverty Rate")
>         stats(N, labels("Observations") fmt(0 0 3));
{res}
            &       1: RE   &       2: RE   \\
            &        b/se   &        b/se   \\
model       &               &               \\
Chavez Win Margin in Chavez State&       2.804***&       2.804***\\
            &     (0.926)   &     (0.926)   \\
Chavez Win Margin in Opposition State&      -1.069*  &      -1.069*  \\
            &     (0.600)   &     (0.600)   \\
Chavez Governor Baseline&      -1.292** &      -1.292** \\
            &     (0.502)   &     (0.502)   \\
log(Rural Population)&       0.078** &       0.078** \\
            &     (0.034)   &     (0.034)   \\
Poverty Rate&       0.029***&       0.029***\\
            &     (0.008)   &     (0.008)   \\
Observations&         334   &         334   \\
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/michaelalbertus/Dropbox/Research/Land Reform under Chavez in Venezuela/Paper/Research Note/PSRM/PSRM R&R/PSRM Replication Data/AppendixTable4M2M5.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Jun 2017, 18:27:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}